<include file='Public:header_qita'/> 

  <!-- Start: Content -->
  <section id="content">
    <div id="topbar" class="affix">
      <ol class="breadcrumb">
       <li style="font-size:1.3em"><a href="<?php echo '__ROOT__/index' ?>"><span>返回首页</span></a></li>
        <li style="font-size:1.3em"><a href="javascript:void(0)" onclick="history.go(-1)" class="back"><span>返回上一层</span></a></li>
        <li style="font-size:1.3em"><a href="<?php echo '__ROOT__/purview' ?>" class="back"><span>权限分配</span></a></li>
      </ol>
    </div>
    <div class="container">
        <div class="panel">
            
          <form action="" method="post">
            <div class="peizhi">
                <h1>总代理权限配置</h1>
                
                   <ul class="qiansan">
                       <li><input type="checkbox" name="searchplayer" value="1" <?php if($sql['searchplayer']==1){echo "checked='checked'"; }?>>  
                       <span style="font-weight: bold;color: #000">玩家送钻</span></li>
                       <li><input type="checkbox" name="creatuser" value="1" <?php if($sql['creatuser']==1){echo "checked='checked'"; }?>>  
                       <span style="font-weight: bold;color: #000">添加代理</span></li>
                   </ul>
                   
                   <div class="clear"></div>
                   <hr style="margin: 0 0 0 27px;position: relative;bottom: 15px;width: 66%;"></hr>
                   <ul class="qiansan">
                       <li><input type="checkbox" name="myadmin" value="1" <?php if($sql['myadmin']==1){echo "checked='checked'"; }?>>  
                       <span style="font-weight: bold;color: #000">我的代理</span></li>
                       <li><input type="checkbox" name="myinfoxia" value="1" <?php if($sql['myinfoxia']==1){echo "checked='checked'"; }?>>  
                       <span>操作（查看）</span></li>
                       <li><input type="checkbox" name="drilling" value="1" <?php if($sql['drilling']==1){echo "checked='checked'"; }?>>  
                       <span>操作（充钻）</span></li>
                       <li><input type="checkbox" name="agentmodi" value="1" <?php if($sql['agentmodi']==1){echo "checked='checked'"; }?>>  
                       <span>操作（修改）</span></li>
                       <li style="position: relative;right: 500px;font-size: 30px;bottom: 10px;"><span>→</span></li>
                   </ul>
                   <div class="clear"></div>
                   <hr style="margin:0 0 0 27px;position: relative;bottom: 15px;width: 82%"></hr>
                   <ul class="lie">
                       <li><input type="checkbox" name="playercharge" value="1" <?php if($sql['playercharge']==1){echo "checked='checked'"; }?>>  
                       <span style="font-weight: bold;color: #000">赠送玩家记录</span></li>
                       <li><input type="checkbox" name="agentcharge" value="1" <?php if($sql['agentcharge']==1){echo "checked='checked'"; }?>>  
                       <span style="font-weight: bold;color: #000">代理购钻记录</span></li>
                       <li><input type="checkbox" name="buygold" value="1" <?php if($sql['buygold']==1){echo "checked='checked'"; }?>>  
                       <span style="font-weight: bold;color: #000">我的购钻记录</span></li>
                       <li><input type="checkbox" name="subordinate" value="1" <?php if($sql['subordinate']==1){echo "checked='checked'"; }?>>  
                       <span style="font-weight: bold;color: #000">我的返利领取</span></li>
                       <li><input type="checkbox" name="policy" value="1" <?php if($sql['policy']==1){echo "checked='checked'"; }?>>  
                       <span style="font-weight: bold;color: #000">代理政策</span></li>
                       <hr style="margin: 0;position: relative;bottom: 15px;width: 66%"></hr>
                       <li><input type="checkbox" name="myinfo" value="1" <?php if($sql['myinfo']==1){echo "checked='checked'"; }?>>  
                       <span style="font-weight: bold;color: #000">我的信息</span></li>
                       <li><input type="checkbox" name="setnotice" value="1" <?php if($sql['setnotice']==1){echo "checked='checked'"; }?>>  
                       <span style="font-weight: bold;color: #000">消息通知</span></li>
                       <li><input type="checkbox" name="policyedit" value="1" <?php if($sql['policyedit']==1){echo "checked='checked'"; }?>>  
                       <span style="font-weight: bold;color: #000">政策管理</span></li>
                       <li><input type="checkbox" name="payoff" value="1" <?php if($sql['payoff']==1){echo "checked='checked'"; }?>>  
                       <span style="font-weight: bold;color: #000">微信充值</span></li>
                   </ul>
                   <div class="clear"></div>   
                   
                
            </div>
            <div class="tijiao">
               <span>所属分组</span>
               <select name="" id="" onchange="self.location.href=options[selectedIndex].value">
                  <option value="">请选择</option>
                  <option value="http://<?php echo $_SERVER['SERVER_NAME'];?>/zy_admin/purview.html">总代理</option>
                  <option value="http://<?php echo $_SERVER['SERVER_NAME'];?>/zy_admin/purview01.html">一级代理</option>
                  <option value="http://<?php echo $_SERVER['SERVER_NAME'];?>/zy_admin/purview02.html">普通代理</option>
               </select>
               <div class=""><input type="reset" value="重置"></div>
               <div class=""><input type="submit" value="提交"></div>
            </div>
          </form>
            
        </div>
    </div>
  </section>
 
  <!-- End: Content --> 
<include file='Public:footer'/> 